/**文件管理 */

import { ServiceApi } from "/@/api/_base";
import service from "/@/utils/request";
type DeleteFileParam = {
    /**文件主键 uuid */
    uuid: string,
    /**文件类型 */
    ftype: string
}

class FilesServiceApi extends ServiceApi {
    /**
     * 删除文件
     * @param deleteFileParamArray  文件信息集合
     * @returns 
     */
    delFiles(deleteFileParamArray: DeleteFileParam[]) {
        let url = this.baseUrl + "/delFiles";
        return service.post(url, deleteFileParamArray)
    }

}
const filesServiceApi = new FilesServiceApi("/rest/tool/FilesService");

export default filesServiceApi;